<template>
  <div class="common-layout">
    <el-container>
      <el-header class="head" >
        <Nav></Nav>
      </el-header>
      <el-main class="main" >Main</el-main>
      <el-footer class="footer">Footer</el-footer>
    </el-container>
  </div>
</template>

<script>
import Nav from "@/components/Nav";
export default {
  components: {Nav}
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 10px;
}
.head{
  width: 100%;
  height: 10%;
}
.main{
  width: 100%;
  height: 70%;
  background-color: aqua;
}
.footer{
  width: 100%;
  height: 20%;
  background-color: bisque;
}
</style>
